Skip to content

Conversation

@katysaintin
Copy link
Contributor

@katysaintin katysaintin commented Oct 22, 2025

Please find a PR to fix TangoPVFactory.
Tango Attributes and Commands are managed in the same Factory
I will show this development in a next meeting in november,
to promote CS-Studio as a software for GUI on top of Tango.

List of additions or improvements

- Add utilities to manage TangoAttributes & TangoCommand
- Add TangoPVFactory and TangoPV that manage attributes and commands
- Add managements of Tango waveform and image attributes
- Retrieve meta data, description, min alarm, max alarm, unit, min warning , max warning, min value, max value and number format
- Retrieve enumated attributes labels
- Retrieve Attribute Severity 
- Manage read or write information
- Manage attribute DevState as a String PV and update the Severity (according to 14 states of Tango)

List of corrections :

- Event is not necessary activated, so subscription to event generates an exception
- Manage polling mode , in case of event is disable
- Manage Tango Command, with no argument , a void command is executed behind a Action Button widget

Tests

  • All the developments are testes on the real TangoTest device provided as default in the TANGO Framework.
  • See the video demo
  • See the screenshot
PhoebusTango_Screenshot - Find the bob file corresponding to [TangoTest device ](https://drive.google.com/file/d/1NPvZUYb0AazwPNG0DCwtq75oIlzz6Dy_/view)

@shroffk
Copy link
Member

shroffk commented Oct 23, 2025

Excellent!
Are there any ramifications of include this in the list of default data sources... or is it better for individual site specific products to include them

@katysaintin
Copy link
Contributor Author

katysaintin commented Oct 27, 2025

Are there any ramifications of include this in the list of default data sources... or is it better for individual site specific products to include them

Hello Kunal, you can include as default datasource as it done today. I hope to present this development to TANGO communauty in november. Katy

@shroffk shroffk merged commit a663512 into ControlSystemStudio:master Oct 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants